.class public Lcom/estrongs/fs/impl/usb/fs/ntfs/n;
.super Ljava/lang/Object;
.source "NTFSDirectory.java"

# interfaces
.implements Les/e50;
.implements Lcom/estrongs/fs/impl/usb/fs/ntfs/f;


# static fields
.field private static final g:Ljava/lang/String;


# instance fields
.field private final a:Les/d60;

.field private b:Lcom/estrongs/fs/impl/usb/fs/ntfs/l;

.field private c:Les/e50;

.field private d:Ljava/util/ArrayList;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/ArrayList<",
            "Les/e50;",
            ">;"
        }
    .end annotation
.end field

.field private final e:Lcom/estrongs/fs/impl/usb/fs/ntfs/q;

.field private final f:Ljava/lang/String;


# direct methods
.method static constructor <clinit>()V
    .locals 1

    .line 1
    const-class v0, Lcom/estrongs/fs/impl/usb/fs/ntfs/n;

    invoke-virtual {v0}, Ljava/lang/Class;->getSimpleName()Ljava/lang/String;

    move-result-object v0

    sput-object v0, Lcom/estrongs/fs/impl/usb/fs/ntfs/n;->g:Ljava/lang/String;

    return-void
.end method

.method public constructor <init>(Lcom/estrongs/fs/impl/usb/fs/ntfs/q;Lcom/estrongs/fs/impl/usb/fs/ntfs/l;)V
    .locals 1
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/io/IOException;
        }
    .end annotation

    .line 1
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 2
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/estrongs/fs/impl/usb/fs/ntfs/n;->d:Ljava/util/ArrayList;

    .line 3
    iput-object p1, p0, Lcom/estrongs/fs/impl/usb/fs/ntfs/n;->e:Lcom/estrongs/fs/impl/usb/fs/ntfs/q;

    .line 4
    new-instance p1, Les/d60;

    invoke-direct {p1, p2}, Les/d60;-><init>(Lcom/estrongs/fs/impl/usb/fs/ntfs/l;)V

    iput-object p1, p0, Lcom/estrongs/fs/impl/usb/fs/ntfs/n;->a:Les/d60;

    .line 5
    iput-object p2, p0, Lcom/estrongs/fs/impl/usb/fs/ntfs/n;->b:Lcom/estrongs/fs/impl/usb/fs/ntfs/l;

    .line 6
    invoke-virtual {p2}, Lcom/estrongs/fs/impl/usb/fs/ntfs/l;->m()J

    move-result-wide p1

    invoke-static {p1, p2}, Ljava/lang/Long;->toString(J)Ljava/lang/String;

    move-result-object p1

    iput-object p1, p0, Lcom/estrongs/fs/impl/usb/fs/ntfs/n;->f:Ljava/lang/String;

    return-void
.end method

.method private d()V
    .locals 4
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/io/IOException;
        }
    .end annotation

    .line 1
    iget-object v0, p0, Lcom/estrongs/fs/impl/usb/fs/ntfs/n;->d:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-nez v0, :cond_3

    .line 2
    invoke-virtual {p0}, Lcom/estrongs/fs/impl/usb/fs/ntfs/n;->b()Ljava/util/Iterator;

    move-result-object v0

    :cond_0
    :goto_0
    invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z

    move-result v1

    if-eqz v1, :cond_3

    .line 3
    invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/estrongs/fs/impl/usb/fs/ntfs/o;

    .line 4
    invoke-virtual {v1}, Lcom/estrongs/fs/impl/usb/fs/ntfs/o;->c()Ljava/lang/String;

    move-result-object v2

    if-eqz v2, :cond_1

    invoke-virtual {v1}, Lcom/estrongs/fs/impl/usb/fs/ntfs/o;->c()Ljava/lang/String;

    move-result-object v2

    const-string v3, "$"

    invoke-virtual {v2, v3}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result v2

    if-nez v2, :cond_0

    invoke-virtual {v1}, Lcom/estrongs/fs/impl/usb/fs/ntfs/o;->c()Ljava/lang/String;

    move-result-object v2

    const-string v3, "."

    invoke-virtual {v2, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_1

    goto :goto_0

    .line 5
    :cond_1
    invoke-virtual {v1}, Lcom/estrongs/fs/impl/usb/fs/ntfs/o;->d()Z

    move-result v2

    if-eqz v2, :cond_2

    .line 6
    invoke-virtual {v1}, Lcom/estrongs/fs/impl/usb/fs/ntfs/o;->getDirectory()Lcom/estrongs/fs/impl/usb/fs/ntfs/f;

    move-result-object v1

    check-cast v1, Les/e50;

    .line 7
    invoke-interface {v1, p0}, Les/e50;->a(Les/e50;)V

    .line 8
    iget-object v2, p0, Lcom/estrongs/fs/impl/usb/fs/ntfs/n;->d:Ljava/util/ArrayList;

    invoke-virtual {v2, v1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    goto :goto_0

    .line 9
    :cond_2
    invoke-virtual {v1}, Lcom/estrongs/fs/impl/usb/fs/ntfs/o;->e()Z

    move-result v2

    if-eqz v2, :cond_0

    .line 10
    invoke-virtual {v1}, Lcom/estrongs/fs/impl/usb/fs/ntfs/o;->a()Lcom/estrongs/fs/impl/usb/fs/ntfs/h;

    move-result-object v1

    check-cast v1, Les/e50;

    .line 11
    invoke-interface {v1, p0}, Les/e50;->a(Les/e50;)V

    .line 12
    iget-object v2, p0, Lcom/estrongs/fs/impl/usb/fs/ntfs/n;->d:Ljava/util/ArrayList;

    invoke-virtual {v2, v1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    goto :goto_0

    :cond_3
    return-void
.end method


# virtual methods
.method public a(Ljava/lang/String;)Lcom/estrongs/fs/impl/usb/fs/ntfs/g;
    .locals 3

    .line 1
    invoke-virtual {p0}, Lcom/estrongs/fs/impl/usb/fs/ntfs/n;->b()Ljava/util/Iterator;

    move-result-object v0

    :cond_0
    invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z

    move-result v1

    if-eqz v1, :cond_1

    .line 2
    invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/estrongs/fs/impl/usb/fs/ntfs/o;

    .line 3
    invoke-virtual {v1}, Lcom/estrongs/fs/impl/usb/fs/ntfs/o;->c()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v2, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_0

    return-object v1

    :cond_1
    const/4 p1, 0x0

    return-object p1
.end method

.method public a(JLjava/nio/ByteBuffer;)V
    .locals 0
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/io/IOException;
        }
    .end annotation

    .line 5
    new-instance p1, Ljava/lang/UnsupportedOperationException;

    const-string p2, "unsupported operation"

    invoke-direct {p1, p2}, Ljava/lang/UnsupportedOperationException;-><init>(Ljava/lang/String;)V

    throw p1
.end method

.method public a(Les/e50;)V
    .locals 0

    .line 4
    iput-object p1, p0, Lcom/estrongs/fs/impl/usb/fs/ntfs/n;->c:Les/e50;

    return-void
.end method

.method public b()Ljava/util/Iterator;
    .locals 3
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()",
            "Ljava/util/Iterator<",
            "Lcom/estrongs/fs/impl/usb/fs/ntfs/g;",
            ">;"
        }
    .end annotation

    .line 1
    new-instance v0, Lcom/estrongs/fs/impl/usb/fs/ntfs/e;

    iget-object v1, p0, Lcom/estrongs/fs/impl/usb/fs/ntfs/n;->e:Lcom/estrongs/fs/impl/usb/fs/ntfs/q;

    iget-object v2, p0, Lcom/estrongs/fs/impl/usb/fs/ntfs/n;->a:Les/d60;

    invoke-direct {v0, v1, v2}, Lcom/estrongs/fs/impl/usb/fs/ntfs/e;-><init>(Lcom/estrongs/fs/impl/usb/fs/ntfs/q;Les/d60;)V

    return-object v0
.end method

.method public b(JLjava/nio/ByteBuffer;)V
    .locals 0
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/io/IOException;
        }
    .end annotation

    .line 2
    new-instance p1, Ljava/lang/UnsupportedOperationException;

    const-string p2, "unsupported operation"

    invoke-direct {p1, p2}, Ljava/lang/UnsupportedOperationException;-><init>(Ljava/lang/String;)V

    throw p1
.end method

.method public b(Les/e50;)V
    .locals 1
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/io/IOException;
        }
    .end annotation

    .line 3
    new-instance p1, Ljava/lang/UnsupportedOperationException;

    const-string v0, "unsupported operation"

    invoke-direct {p1, v0}, Ljava/lang/UnsupportedOperationException;-><init>(Ljava/lang/String;)V

    throw p1
.end method

.method public close()V
    .locals 0
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/io/IOException;
        }
    .end annotation

    return-void
.end method

.method public createDirectory(Ljava/lang/String;)Les/e50;
    .locals 1
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/io/IOException;
        }
    .end annotation

    .line 1
    new-instance p1, Ljava/lang/UnsupportedOperationException;

    const-string v0, "unsupported operation"

    invoke-direct {p1, v0}, Ljava/lang/UnsupportedOperationException;-><init>(Ljava/lang/String;)V

    throw p1
.end method

.method public delete()V
    .locals 2
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/io/IOException;
        }
    .end annotation

    .line 1
    new-instance v0, Ljava/lang/UnsupportedOperationException;

    const-string v1, "unsupported operation"

    invoke-direct {v0, v1}, Ljava/lang/UnsupportedOperationException;-><init>(Ljava/lang/String;)V

    throw v0
.end method

.method public e(Ljava/lang/String;)Les/e50;
    .locals 1
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/io/IOException;
        }
    .end annotation

    .line 1
    new-instance p1, Ljava/lang/UnsupportedOperationException;

    const-string v0, "unsupported operation"

    invoke-direct {p1, v0}, Ljava/lang/UnsupportedOperationException;-><init>(Ljava/lang/String;)V

    throw p1
.end method

.method public flush()V
    .locals 0
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/io/IOException;
        }
    .end annotation

    return-void
.end method

.method public getLength()J
    .locals 2

    const-wide/16 v0, 0x0

    return-wide v0
.end method

.method public getName()Ljava/lang/String;
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/estrongs/fs/impl/usb/fs/ntfs/n;->c:Les/e50;

    if-nez v0, :cond_0

    .line 2
    iget-object v0, p0, Lcom/estrongs/fs/impl/usb/fs/ntfs/n;->e:Lcom/estrongs/fs/impl/usb/fs/ntfs/q;

    invoke-virtual {v0}, Lcom/estrongs/fs/impl/usb/fs/ntfs/q;->c()Ljava/lang/String;

    move-result-object v0

    return-object v0

    .line 3
    :cond_0
    iget-object v0, p0, Lcom/estrongs/fs/impl/usb/fs/ntfs/n;->b:Lcom/estrongs/fs/impl/usb/fs/ntfs/l;

    invoke-virtual {v0}, Lcom/estrongs/fs/impl/usb/fs/ntfs/l;->i()Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method public getParent()Les/e50;
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/estrongs/fs/impl/usb/fs/ntfs/n;->c:Les/e50;

    return-object v0
.end method

.method public isHidden()Z
    .locals 2

    .line 1
    sget-object v0, Lcom/estrongs/fs/impl/usb/fs/ntfs/StandardInformationAttribute$Flags;->HIDDEN:Lcom/estrongs/fs/impl/usb/fs/ntfs/StandardInformationAttribute$Flags;

    iget-object v1, p0, Lcom/estrongs/fs/impl/usb/fs/ntfs/n;->b:Lcom/estrongs/fs/impl/usb/fs/ntfs/l;

    invoke-virtual {v1}, Lcom/estrongs/fs/impl/usb/fs/ntfs/l;->n()Lcom/estrongs/fs/impl/usb/fs/ntfs/StandardInformationAttribute;

    move-result-object v1

    invoke-virtual {v1}, Lcom/estrongs/fs/impl/usb/fs/ntfs/StandardInformationAttribute;->g()I

    move-result v1

    invoke-virtual {v0, v1}, Lcom/estrongs/fs/impl/usb/fs/ntfs/StandardInformationAttribute$Flags;->isSet(I)Z

    move-result v0

    return v0
.end method

.method public isReadOnly()Z
    .locals 2

    .line 1
    sget-object v0, Lcom/estrongs/fs/impl/usb/fs/ntfs/StandardInformationAttribute$Flags;->READ_ONLY:Lcom/estrongs/fs/impl/usb/fs/ntfs/StandardInformationAttribute$Flags;

    iget-object v1, p0, Lcom/estrongs/fs/impl/usb/fs/ntfs/n;->b:Lcom/estrongs/fs/impl/usb/fs/ntfs/l;

    invoke-virtual {v1}, Lcom/estrongs/fs/impl/usb/fs/ntfs/l;->n()Lcom/estrongs/fs/impl/usb/fs/ntfs/StandardInformationAttribute;

    move-result-object v1

    invoke-virtual {v1}, Lcom/estrongs/fs/impl/usb/fs/ntfs/StandardInformationAttribute;->g()I

    move-result v1

    invoke-virtual {v0, v1}, Lcom/estrongs/fs/impl/usb/fs/ntfs/StandardInformationAttribute$Flags;->isSet(I)Z

    move-result v0

    return v0
.end method

.method public setName(Ljava/lang/String;)V
    .locals 1
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/io/IOException;
        }
    .end annotation

    .line 1
    new-instance p1, Ljava/lang/UnsupportedOperationException;

    const-string v0, "unsupported operation"

    invoke-direct {p1, v0}, Ljava/lang/UnsupportedOperationException;-><init>(Ljava/lang/String;)V

    throw p1
.end method

.method public v()J
    .locals 2

    .line 1
    iget-object v0, p0, Lcom/estrongs/fs/impl/usb/fs/ntfs/n;->b:Lcom/estrongs/fs/impl/usb/fs/ntfs/l;

    invoke-virtual {v0}, Lcom/estrongs/fs/impl/usb/fs/ntfs/l;->n()Lcom/estrongs/fs/impl/usb/fs/ntfs/StandardInformationAttribute;

    move-result-object v0

    invoke-virtual {v0}, Lcom/estrongs/fs/impl/usb/fs/ntfs/StandardInformationAttribute;->n()J

    move-result-wide v0

    return-wide v0
.end method

.method public w()Z
    .locals 1

    const/4 v0, 0x1

    return v0
.end method

.method public x()[Ljava/lang/String;
    .locals 3
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/io/IOException;
        }
    .end annotation

    .line 1
    invoke-direct {p0}, Lcom/estrongs/fs/impl/usb/fs/ntfs/n;->d()V

    .line 2
    iget-object v0, p0, Lcom/estrongs/fs/impl/usb/fs/ntfs/n;->d:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    new-array v0, v0, [Ljava/lang/String;

    const/4 v1, 0x0

    .line 3
    :goto_0
    iget-object v2, p0, Lcom/estrongs/fs/impl/usb/fs/ntfs/n;->d:Ljava/util/ArrayList;

    invoke-virtual {v2}, Ljava/util/ArrayList;->size()I

    move-result v2

    if-ge v1, v2, :cond_0

    .line 4
    iget-object v2, p0, Lcom/estrongs/fs/impl/usb/fs/ntfs/n;->d:Ljava/util/ArrayList;

    invoke-virtual {v2, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Les/e50;

    invoke-interface {v2}, Les/e50;->getName()Ljava/lang/String;

    move-result-object v2

    aput-object v2, v0, v1

    add-int/lit8 v1, v1, 0x1

    goto :goto_0

    :cond_0
    return-object v0
.end method

.method public y()[Les/e50;
    .locals 2
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/io/IOException;
        }
    .end annotation

    .line 1
    invoke-direct {p0}, Lcom/estrongs/fs/impl/usb/fs/ntfs/n;->d()V

    .line 2
    iget-object v0, p0, Lcom/estrongs/fs/impl/usb/fs/ntfs/n;->d:Ljava/util/ArrayList;

    const/4 v1, 0x0

    new-array v1, v1, [Les/e50;

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->toArray([Ljava/lang/Object;)[Ljava/lang/Object;

    move-result-object v0

    check-cast v0, [Les/e50;

    return-object v0
.end method

.method public z()J
    .locals 2

    .line 1
    iget-object v0, p0, Lcom/estrongs/fs/impl/usb/fs/ntfs/n;->b:Lcom/estrongs/fs/impl/usb/fs/ntfs/l;

    invoke-virtual {v0}, Lcom/estrongs/fs/impl/usb/fs/ntfs/l;->n()Lcom/estrongs/fs/impl/usb/fs/ntfs/StandardInformationAttribute;

    move-result-object v0

    invoke-virtual {v0}, Lcom/estrongs/fs/impl/usb/fs/ntfs/StandardInformationAttribute;->m()J

    move-result-wide v0

    return-wide v0
.end method
